all:client1
client1:client1.cpp
	g++ -std=c++11 $^ -o $@

client:test_cli.cc
	g++ $^ -o $@ -std=c++11
serve:serve.cc
	g++ $^ -o $@ -std=c++11 -pthread

.PHONY:
clean:
	rm -f client serve